<?php
/**
*模板映射表
*映射到数据库中
**/
namespace Fang\AlysmsBundle\Entity;

use Doctrine\ORM\Mapping as ORM;//数据库映射设定

/**
*@ORM\Entity
*@ORM\Table(name="alysmsmap")
**/
class SmsMap
{
	/**
	*编号id
	*@ORM\Column(type="integer")
	*@ORM\Id
	*@ORM\GeneratedValue(strategy="AUTO")
	**/
	private $id;
	/**
	*本地短信类型
	*@ORM\Column(type="string", length=255, unique=true)
	**/
	private $smstype;
	/**
	*使用的签名
	*@ORM\Column(type="string", length=255)
	**/
	private $signed;
	/**
	*使用的模板
	*@ORM\Column(type="string", length=255)
	**/
	private $template;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set smstype
     *
     * @param string $smstype
     * @return SmsMap
     */
    public function setSmstype($smstype)
    {
        $this->smstype = $smstype;

        return $this;
    }

    /**
     * Get smstype
     *
     * @return string 
     */
    public function getSmstype()
    {
        return $this->smstype;
    }

    /**
     * Set signed
     *
     * @param string $signed
     * @return SmsMap
     */
    public function setSigned($signed)
    {
        $this->signed = $signed;

        return $this;
    }

    /**
     * Get signed
     *
     * @return string 
     */
    public function getSigned()
    {
        return $this->signed;
    }

    /**
     * Set template
     *
     * @param string $template
     * @return SmsMap
     */
    public function setTemplate($template)
    {
        $this->template = $template;

        return $this;
    }

    /**
     * Get template
     *
     * @return string 
     */
    public function getTemplate()
    {
        return $this->template;
    }
}
